@import "./colors";
@import "flynn-dashboard-web-icons";

.provider-picker {
  display: -webkit-flex;
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  margin-bottom: 1rem;
  overflow-x: auto;
  min-height: 204px;

  > li {
    position: relative;
    margin-right: 1rem;
    padding: 1rem;
    padding-bottom: 2rem;
    text-align: center;
    min-width: 200px;
    cursor: default;

    border: 4px solid transparent;

    &.selected, &.disabled {
      border-color: $greenColor;

      &:after {
        position: absolute;
        bottom: 0.5rem;
        left: 0;
        width: 100%;
        font-family: "flynn-dashboard-web-icons";
        font-size: 25px;
        color: $greenColor;
        content: $flynn-dashboard-web-icons-checkmark;
      }
    }

    &.disabled {
      &:before {
        position: absolute;
        content: ' ';
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: $grayBlueColor;
        opacity: 0.25;
        cursor: not-allowed;
      }
    }

    > img {
      height: 100px;
      border: none;
    }
  }
}
